<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>Týr</title>
	</head>
	<body>
		{{ if eq .Error `address` }}
		<p>Address ‘{{.Address}}’ not found in locks</p>
		{{ else if eq .Error `token` }}
		<p>Token invalid for address ‘{{.Address}}’ </p>
		{{ else if eq .Error `captcha` }}
		<p>Wrong solution for captcha</p>
		{{ else if eq .Error `success` }}
		<p>Your messages have been release from quarantine.<br/>
		Mail from You will now go straight to Inbox.</p>
		{{ else }}
		<form method="POST">
			<input name="address" value="{{.Address}}" /><br/>
			<input name="token" value="{{.Token}}" /><br/>
			<input type="hidden" name="captcha_result" value="{{.Captcha}}" /><br/>
			<label for="captcha">Type ‘quarter to three p.m.’ in format HH:MM</label><br/>
			<input id="captcha" name="captcha" type="time" /><br/>
			<input type="submit" />
		</form>
		{{ end }}
	</body>
</html>
